package com.example.carrierapp.ui.main.dispatch.detail.history;

import com.example.carrierapp.base.BaseView;
import com.example.carrierapp.bean.RowsBean;
import com.example.carrierapp.bean.dispatch.DispatchHistoryBean;
import com.example.carrierapp.viewmodel.itemmodel.ItemDispatchHistoryModel;

public interface DispatchHistoryContract {
    interface Presenter {

        void getDeliveryHistoryDetail(int id, String filter, int skipCount);

        void dispatchAgain(Integer carId, Integer waybillId, String weight, Integer driverId);

        void dispatchModify(Integer driverId, Integer carId, Integer waybillId, String expectedWeight, boolean isMultiple, boolean isMultipleBak, String limitCount, String validityPeriod, Integer id);
    }

    interface View extends BaseView {
        void getDeliveryHistoryDetailSuccess(RowsBean<ItemDispatchHistoryModel> bean);

        void getDeliveryHistoryDetailFailde(String msg);

        void dispatchAgainSuccess(String bean);

        void dispatchAgainDetailFailde(String msg);

        void dispatchModifySuccess(String bean);

        void dispatchModifyFailde(String msg);

    }
}
